package com.baizhi.dao;

import com.baizhi.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookDao {
    List<Book> selectOrderBy(@Param("column")String column,@Param("rownum")int rownum);
    List<Book> selectOrder(@Param("column")String column,@Param("rownum")int rownum,@Param("date")String date);
    Book selectOne(int id);
    List<Book> PageBook(int cid);
    List<Book> pageCateFirst(int id);
}
